import request from '@/config/request'
// 我的收藏列表
export const fetchCollectList = params => {
  return request({
    url: '/api/user.index/collectList',
    method: 'POST',
    params
  })
}

// 收藏我的人
export const fetchCollectMeList = params => {
  return request({
    url: '/api/user.index/tocollectList',
    method: 'POST',
    params
  })
}

// 谁看过我
export const fetchToLookMeList = params => {
  return request({
    url: '/api/user.index/toLookMeList',
    method: 'POST',
    params
  })
}

// 解锁我的
export const fetchToUnlockMeList = params => {
  return request({
    url: '/api/user.index/toToUnlockMeList',
    method: 'POST',
    params
  })
}

// 我的解锁
export const fetchToMeUnlockList = params => {
  return request({
    url: '/api/user.index/toToMeUnlockList',
    method: 'POST',
    params
  })
}

// 消息列表
export const fetchMessageList = params => {
  return request({
    url: '/api/user.index/messageList',
    method: 'POST',
    params
  })
}

// 删除收藏数据
export const delcollectApi = params => {
  return request({
    url: '/api/user.index/delcollect',
    method: 'POST',
    params
  })
}


// 删除查看我的
export const dellookApi = params => {
  return request({
    url: '/api/user.index/dellook',
    method: 'POST',
    params
  })
}

// 删除解锁数据
export const delunlockApi = params => {
  return request({
    url: '/api/user.index/delunlock',
    method: 'POST',
    params
  })
}
